package com.ciccwm.log.constant;

/**
 * 日志常量
 */
public final class LogConstant {
    private LogConstant() {
    }

    /**
     * 链路ID的请求头键名.
     * 用于在HTTP请求头中传递链路ID.
     */
    public static final String TRACE_ID_KEY = "traceId";

    /**
     * 成功响应码
     */
    public static final Integer SUCCESS = 0;

    /**
     * 错误响应码
     */
    public static final Integer ERROR = 400;

    /**
     * 未知错误响应码
     */
    public static final Integer UNKOWN_ERROR = 500;

    /**
     * 成功响应消息
     */
    public static final String SUCCESS_MSG = "success";
}
